toggle menu
JxBrowser
8.2.1
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.browser.callback
/
[jvm]BeforeUnloadCallback
/
Action
Action
class
Action
:
AsyncCallbackAction
<
R
>
A responder for the
BeforeFormRepostCallback
.
Members
Constructors
Action
Link copied to clipboard
constructor
(
consumer
:
Consumer
<
BeforeUnload.Response
>
)
Functions
is
Closed
Link copied to clipboard
fun
isClosed
(
)
:
Boolean
Returns
true
if this action is closed.
leave
Link copied to clipboard
open
fun
leave
(
)
Notifies the browser that the user decided to leave the current page.
stay
Link copied to clipboard
open
fun
stay
(
)
Notifies the browser that the user decided to stay on the current page.